
package jz.dataCenter.extractData;

import jg.exJson.refuse.RefuseJson;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

public class ExtractRefuseData {

	public String exec(jz.dbUnit.gjzxx.GJZXX data) {

		RefuseJson refuse = new RefuseJson();
		try {
			refuse.setId(data.getId().toString());
			refuse.setSfz(data.getSfz());
			refuse.setRefusedate(data.getRefusedate());
			refuse.setRefusenote(data.getRefusenote());

			return JSON.toJSONString(refuse, SerializerFeature.WriteNullListAsEmpty);
		} finally {
			refuse.free();
		}
	}

}
